package cn.ihelloworld.dao;

import java.util.List;

import cn.ihelloworld.bean.Article;
import cn.ihelloworld.bean.PageResult;

public interface IArticleDao extends IBaseDao<Article> {
	List<Article> selectLast(String catagoryId,int num);
	List<Article> selectHot(String catagoryId,int num);
	List<Article> selectHotByTag(String tag,int num);
	List<Article> selectLastByTag(String tag,int num);
	PageResult<Article> selectByPage(String catagoryId,int page);
	void update(List<Article> list);
	List<Article> selectPreNext(String articleId);
}
